export default function StateHook(props) {
    return (
        <div>
            {/* {props} */}
            <h1>{ props.count }</h1>
            <button onClick={props.setCount}>count+</button>
        </div>
    )
}